/**
 * Created by wxy on 2016/8/5.
 */
$(function () {
    var petname = $.cookie('petname');
//登录的判断
    if (petname) {
        $('.out').css('display', 'none');
        $('.in').css('display', 'inline-block');
        $('.in-name').html(petname);
    } else {
        $('.out').css('display', 'inline-block');
        $('.in').css('display', 'none');
    }
});
$.cookie('the_cookie', null);

